export class ConstDef {}

export class UserTypeDef {
  static readonly GUEST = 1;
  static readonly NORMAL = 2;
  static readonly ORG = 3;
  static readonly ADMIN = 4;
  static readonly ORGTYPE = [
    {
      id: 1,
      label: "医疗机构 ",
    },
    {
      id: 2,
      label: "企业 ",
    },
    {
      id: 3,
      label: "学协会 ",
    },
    {
      id: 4,
      label: "灯塔医生 ",
    },
  ];
}

export class UserStatusDef {
  static readonly FORBID = 0;
  static readonly NORMAL = 1;

  // static readonly ENABLETYPE = [
  //   {
  //     id: UserStatusDef.FORBID,
  //     label: "启用"
  //   },
  //   {
  //     id: UserStatusDef.NORMAL,
  //     label: "停用"
  //   }
  // ];
}

export class DynamicStatus {
  static readonly ONEXAMINE = 2; // 待审核
  static readonly RELSASE = 1; // 已发布
  static readonly DELET = 0; // 已删除
  static readonly NOEXAMINE = 3; // 审核不通过
  static readonly TEXT = 1; // 文字
  static readonly IMANE = 2; // 图片
  static readonly VIDEO = 3; // 视频
  static readonly URL = 4; // 链接
  static readonly TYPESTATUS = [
    {
      id: DynamicStatus.ONEXAMINE,
      label: "待审核",
    },
    {
      id: DynamicStatus.RELSASE,
      label: "已发布",
    },
    {
      id: DynamicStatus.DELET,
      label: "已删除",
    },
    {
      id: DynamicStatus.NOEXAMINE,
      label: "审核不通过",
    },
  ];
  static readonly DTTYPE = [
    {
      id: DynamicStatus.TEXT,
      label: "文字",
    },
    {
      id: DynamicStatus.IMANE,
      label: "图片",
    },
    {
      id: DynamicStatus.VIDEO,
      label: "视频",
    },
    {
      id: DynamicStatus.URL,
      label: "链接",
    },
  ];

  static readonly RANGETYPE = [
    {
      id: 1,
      name: "公开",
    },
    {
      id: 3,
      name: "仅粉丝",
    },
  ];

  static readonly TYPELIST = [
    "普通动态",
    "病例求助",
    "病例分享",
    "学院-学院通知",
    "学院-病例讨论",
    "学院-会议通知",
  ];
}
export class FormStatusDef {
  static readonly status = "VALID";
}

export class TopicLabel {
  static readonly LABLETYPE = [
    {
      value: 0,
      label: "无",
    },
    {
      value: 1,
      label: "热",
    },
    {
      value: 2,
      label: "新",
    },
    {
      value: 3,
      label: "推荐",
    },
    {
      value:4,
      label:"热+推荐"
    },
    {
      value:5,
      label:'新+推荐'
    }
  ];
}

export class StatisticsType {
  static readonly LABLETYPE = [
    {
      value: 1,
      label: "用户",
    },
    {
      value: 2,
      label: "圈子",
    },
    {
      value: 3,
      label: "话题",
    },
  ];
}

export class OrganizationStatus {
  static readonly displayStatus = [
    {
      value: "",
      label: "全部",
    },
    {
      value: 1,
      label: "显示",
    },
    {
      value: 0,
      label: "隐藏",
    },
  ];
}
